package com.github.admin.edu.security.jwt.server.controller;

import com.github.admin.edu.oauth.server.api.service.ServerLoginServiceApi;
import com.github.admin.edu.security.jwt.server.service.ServerUserLoginService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RestController;

/**
 * Create by IntelliJ IDEA
 * 用户：王建
 * 日期：2018-7-24
 */
@RestController
public class ServerUserLoginController implements ServerLoginServiceApi {

    @Autowired
    private ServerUserLoginService service;

    @Override
    public String getEntity(String id) {
        return service.getEntity(id);
    }

    @Override
    public String getSysUser(String id) {
        return service.getSysUser(id);
    }

    @Override
    public String getSysEntity(String id) {
        return service.getSysEntity(id);
    }
}
